package io.gitee.zicai.bus.bus;

import io.gitee.zicai.bus.core.IBusReceiver;
import io.gitee.zicai.bus.support.GuavaEvent;

/**
 * EventReceiveBus
 *
 * @author zicai
 * @since 2021-01-20
 */
public abstract class GuavaReceiveBus<R extends IBusReceiver, T> extends GuavaEvent implements IReceiveBus<R, T> {

    protected T receiveData;

    public GuavaReceiveBus(T receiveData) {
        this.receiveData = receiveData;
    }

    @Override
    public T getReceiveData() {
        return receiveData;
    }

}
